import $http from "./requst";

// 微信分享
export const Wechatshare = (data) =>
  $http({ url: "/common/Wechatshare", method: "post", data });

// 我的页面展示
export const My = (data) => $http({ url: "/user/My", method: "post", data });

// 消息页面
export const Message = (data) =>
  $http({ url: "/user/Message", method: "post", data });

// 编辑简历
export const cvSave = (data) =>
  $http({ url: "/user/Cv/cvSave", method: "post", data });

// 简历回显
export const cvShow = (data) =>
  $http({ url: "/user/Cv/cvShow", method: "post", data });

// 投递简历，申请接单
export const deliver = (data) =>
  $http({ url: "/user/Projectdemand/deliver", method: "post", data });

// 收藏
export const collect = (data) =>
  $http({ url: "/user/Projectdemand/collect", method: "post", data });

// 取消收藏
export const canceCollect = (data) =>
  $http({ url: "/user/Projectdemand/canceCollect", method: "post", data });

// 项目外包详情
export const details = (data) =>
  $http({ url: "/user/Projectdemand/details", method: "post", data });

// 职位详情
export const PositionDetails = (data) =>
  $http({ url: "/user/Position/details", method: "post", data });

// 职位详情
export const PositionDeliver = (data) =>
  $http({ url: "/user/Position/deliver", method: "post", data });

// 大厅列表
export const user = (data) => $http({ url: "/user", method: "post", data });
// 简历投递记录
export const positionDeliver = (data) =>
  $http({ url: "/user/My/positionDeliver", method: "post", data });
// 收藏记录
export const collectRecord = (data) =>
  $http({ url: "/user/My/collect", method: "post", data });

// 投标记录
export const Record = (data) =>
  $http({ url: "/user/Record", method: "post", data });
// 投标记录详情
export const orderDetails = (data) =>
  $http({ url: "/user/Record/details", method: "post", data });

// 发送短信
export const Sendsms = (data) =>
  $http({ url: "/common/Send/sms", method: "post", data });

// 接单设置提交
export const orders_set_save = (data) =>
  $http({ url: "/user/My/orders_set_save", method: "post", data });

// 接单设置展示
export const orders_set_show = (data) =>
  $http({ url: "/user/My/orders_set_show", method: "post", data });

// 账户绑定页面提交
export const account_binding_save = (data) =>
  $http({ url: "/user/My/account_binding_save", method: "post", data });

// 账户绑定页面展示
export const account_binding_show = (data) =>
  $http({ url: "/user/My/account_binding_show", method: "post", data });

// 身份证认证
export const identityAuth = (data) =>
  $http({ url: "/user/My/identityAuth", method: "post", data });

// 开通会员
export const memberPay = (data) =>
  $http({ url: "/user/My/memberPay", method: "post", data });

// 合作申请
export const cooperateApply = (data) =>
  $http({ url: "/user/My/cooperateApply", method: "post", data });

// 意见反馈
export const feedback = (data) =>
  $http({ url: "/user/My/feedback", method: "post", data });

// 消息已读
export const checkstatus = (data) =>
  $http({ url: "/user/Message/checkstatus", method: "post", data });

// 会员收费展示
export const memberPayShow = (data) =>
  $http({ url: "/user/My/memberPayShow", method: "post", data });

// 榜单列表
export const bidderAll = (data) =>
  $http({ url: "/user/Index/bidderAll", method: "post", data });

//  获取已经中标跟完成的项目及用户
export const getBidder = (data) =>
  $http({ url: "/user/Index/getBidder", method: "post", data });

//  简历详情
export const userDetails = (data) =>
  $http({ url: "/user/Index/userDetails", method: "post", data });

// 获取消息未读数量
export const getMessageCount = (data) =>
  $http({ url: "/user/My/getMessageCount", method: "post", data });
